unit uniRelChecklist;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, QRCtrls, QuickRpt, ExtCtrls, jpeg, DB, ADODB;

type
  TfrmRelChecklist = class(TForm)
    qrpRel: TQuickRep;
    QRBand1: TQRBand;
    QRLabel2: TQRLabel;
    qrlMarca: TQRLabel;
    QRLabel1: TQRLabel;
    QRLabel3: TQRLabel;
    qrlRepresentante: TQRLabel;
    QRLabel5: TQRLabel;
    QRLabel8: TQRLabel;
    qrImgCliente: TQRImage;
    QRLabel13: TQRLabel;
    QRLabel9: TQRLabel;
    QRShape3: TQRShape;
    QRShape4: TQRShape;
    QRShape5: TQRShape;
    QRShape6: TQRShape;
    QRShape7: TQRShape;
    QRShape8: TQRShape;
    QRLabel4: TQRLabel;
    QRShape9: TQRShape;
    QRLabel6: TQRLabel;
    QRShape10: TQRShape;
    QRLabel10: TQRLabel;
    QRLabel7: TQRLabel;
    QRShape1: TQRShape;
    QRShape11: TQRShape;
    QRLabel11: TQRLabel;
    QRShape12: TQRShape;
    QRLabel12: TQRLabel;
    QRShape2: TQRShape;
    QRLabel14: TQRLabel;
    QRLabel15: TQRLabel;
    QRShape13: TQRShape;
    QRShape14: TQRShape;
    QRShape15: TQRShape;
    QRLabel16: TQRLabel;
    QRLabel17: TQRLabel;
    QRLabel18: TQRLabel;
    QRShape16: TQRShape;
    QRShape17: TQRShape;
    QRLabel19: TQRLabel;
    QRLabel20: TQRLabel;
    QRLabel21: TQRLabel;
    QRShape18: TQRShape;
    QRShape19: TQRShape;
    QRShape20: TQRShape;
    QRShape21: TQRShape;
    QRLabel22: TQRLabel;
    QRShape22: TQRShape;
    QRShape23: TQRShape;
    QRLabel23: TQRLabel;
    QRShape24: TQRShape;
    QRShape25: TQRShape;
    QRLabel24: TQRLabel;
    QRLabel25: TQRLabel;
    QRShape26: TQRShape;
    QRShape27: TQRShape;
    QRLabel26: TQRLabel;
    QRShape28: TQRShape;
    QRShape29: TQRShape;
    QR_Rel: TADOQuery;
    DS_Rel: TDataSource;
    qrlData: TQRLabel;
    procedure QRBand1BeforePrint(Sender: TQRCustomBand;
      var PrintBand: Boolean);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  frmRelChecklist: TfrmRelChecklist;

implementation

{$R *.dfm}

procedure TfrmRelChecklist.QRBand1BeforePrint(Sender: TQRCustomBand;
  var PrintBand: Boolean);
begin
  qrlData.Caption := QR_Rel.fieldbyname('data').AsString ;
  qrlMarca.Caption := QR_Rel.fieldbyname('descricao').AsString ;
  qrlRepresentante.Caption := QR_Rel.fieldbyname('nome').AsString ;
end;

end.
